<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>

<div style="width: 50px;">
    <img src="" style="width: 100px;height: 100px;border: 1px solid #ccc;"/>
</div>

<script>

   var num = 1;
   setInterval(function () {
       console.log(num);
       num++;
       for(var i=0;i<=20000;i++){
           console.log(0);
       }
   },1);
</script>
</body>
</html>